#pragma once
#include "gameobject.h"
class CrumblingBlock :
	public GameObject
{

private:
	float DestroyTimer;  //-- Used to calculate the amount of time until this object is destoryed
	bool HasTriggered;   //-- Used to determine if the object has been collided with

public:
	CrumblingBlock(void);
	~CrumblingBlock(void);

	//Collision 
	void HandleCollision(GameObject& other, CollisionInfo& info) override;

	//Standard Overrides
	virtual void Update(float deltaTime) override;
	virtual void Render(void) const override;

};

